package com.bt.table.ppt;

import java.sql.Timestamp;
import java.util.Date;

import org.springframework.stereotype.Component;

import com.bt.mes.common.bean.entity.UUIDObject;
import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Ret_tool_pm entity. @author MyEclipse Persistence Tools
 */

@Component
@XStreamAlias("table")
public class Ret_tool_pm extends UUIDObject implements java.io.Serializable {

	// Fields

	private Ret_tool_pmId id;
	private String unq_seq_id;
	private String rep_unit_fk;
	private String data_pat_fk;
	private String mes_id_fk;
	private String pm_stat;
	private Date from_date;
	private Date to_date;
	private String alm_id;
	private Date nx_pm_date;
	private Date nx_alm_date;
	private Integer cr_prd_qty;
	private Date cr_pm_date;
	private Timestamp ac_pm_beg_timestamp;
	private Timestamp ac_pm_end_timestamp;
	private Integer ac_pm_keep_time;
	private String pm_seq_id;
	private String tool_pm_usr;
	private String tool_own_usr;
	private String clm_usr;
	private Timestamp clm_timestamp;
	private String ac_pm_note;

	// Constructors

	/** default constructor */
	public Ret_tool_pm() {
	}

	/** minimal constructor */
	public Ret_tool_pm(Ret_tool_pmId id, Timestamp ac_pm_beg_timestamp,
			Timestamp ac_pm_end_timestamp, Timestamp clm_timestamp) {
		this.id = id;
		this.ac_pm_beg_timestamp = ac_pm_beg_timestamp;
		this.ac_pm_end_timestamp = ac_pm_end_timestamp;
		this.clm_timestamp = clm_timestamp;
	}

	/** full constructor */
	public Ret_tool_pm(Ret_tool_pmId id, String unq_seq_id, String rep_unit_fk,
			String data_pat_fk, String mes_id_fk, String pm_stat,
			Date from_date, Date to_date, String alm_id, Date nx_pm_date,
			Date nx_alm_date, Integer cr_prd_qty, Date cr_pm_date,
			Timestamp ac_pm_beg_timestamp, Timestamp ac_pm_end_timestamp,
			Integer ac_pm_keep_time, String pm_seq_id, String tool_pm_usr,
			String tool_own_usr, String clm_usr, Timestamp clm_timestamp,
			String ac_pm_note) {
		this.id = id;
		this.unq_seq_id = unq_seq_id;
		this.rep_unit_fk = rep_unit_fk;
		this.data_pat_fk = data_pat_fk;
		this.mes_id_fk = mes_id_fk;
		this.pm_stat = pm_stat;
		this.from_date = from_date;
		this.to_date = to_date;
		this.alm_id = alm_id;
		this.nx_pm_date = nx_pm_date;
		this.nx_alm_date = nx_alm_date;
		this.cr_prd_qty = cr_prd_qty;
		this.cr_pm_date = cr_pm_date;
		this.ac_pm_beg_timestamp = ac_pm_beg_timestamp;
		this.ac_pm_end_timestamp = ac_pm_end_timestamp;
		this.ac_pm_keep_time = ac_pm_keep_time;
		this.pm_seq_id = pm_seq_id;
		this.tool_pm_usr = tool_pm_usr;
		this.tool_own_usr = tool_own_usr;
		this.clm_usr = clm_usr;
		this.clm_timestamp = clm_timestamp;
		this.ac_pm_note = ac_pm_note;
	}

	// Property accessors

	public Ret_tool_pmId getId() {
		return this.id;
	}

	public void setId(Ret_tool_pmId id) {
		this.id = id;
	}

	public String getUnq_seq_id() {
		return this.unq_seq_id;
	}

	public void setUnq_seq_id(String unq_seq_id) {
		this.unq_seq_id = unq_seq_id;
	}

	public String getRep_unit_fk() {
		return this.rep_unit_fk;
	}

	public void setRep_unit_fk(String rep_unit_fk) {
		this.rep_unit_fk = rep_unit_fk;
	}

	public String getData_pat_fk() {
		return this.data_pat_fk;
	}

	public void setData_pat_fk(String data_pat_fk) {
		this.data_pat_fk = data_pat_fk;
	}

	public String getMes_id_fk() {
		return this.mes_id_fk;
	}

	public void setMes_id_fk(String mes_id_fk) {
		this.mes_id_fk = mes_id_fk;
	}

	public String getPm_stat() {
		return this.pm_stat;
	}

	public void setPm_stat(String pm_stat) {
		this.pm_stat = pm_stat;
	}

	public Date getFrom_date() {
		return this.from_date;
	}

	public void setFrom_date(Date from_date) {
		this.from_date = from_date;
	}

	public Date getTo_date() {
		return this.to_date;
	}

	public void setTo_date(Date to_date) {
		this.to_date = to_date;
	}

	public String getAlm_id() {
		return this.alm_id;
	}

	public void setAlm_id(String alm_id) {
		this.alm_id = alm_id;
	}

	public Date getNx_pm_date() {
		return this.nx_pm_date;
	}

	public void setNx_pm_date(Date nx_pm_date) {
		this.nx_pm_date = nx_pm_date;
	}

	public Date getNx_alm_date() {
		return this.nx_alm_date;
	}

	public void setNx_alm_date(Date nx_alm_date) {
		this.nx_alm_date = nx_alm_date;
	}

	public Integer getCr_prd_qty() {
		return this.cr_prd_qty;
	}

	public void setCr_prd_qty(Integer cr_prd_qty) {
		this.cr_prd_qty = cr_prd_qty;
	}

	public Date getCr_pm_date() {
		return this.cr_pm_date;
	}

	public void setCr_pm_date(Date cr_pm_date) {
		this.cr_pm_date = cr_pm_date;
	}

	public Timestamp getAc_pm_beg_timestamp() {
		return this.ac_pm_beg_timestamp;
	}

	public void setAc_pm_beg_timestamp(Timestamp ac_pm_beg_timestamp) {
		this.ac_pm_beg_timestamp = ac_pm_beg_timestamp;
	}

	public Timestamp getAc_pm_end_timestamp() {
		return this.ac_pm_end_timestamp;
	}

	public void setAc_pm_end_timestamp(Timestamp ac_pm_end_timestamp) {
		this.ac_pm_end_timestamp = ac_pm_end_timestamp;
	}

	public Integer getAc_pm_keep_time() {
		return this.ac_pm_keep_time;
	}

	public void setAc_pm_keep_time(Integer ac_pm_keep_time) {
		this.ac_pm_keep_time = ac_pm_keep_time;
	}

	public String getPm_seq_id() {
		return this.pm_seq_id;
	}

	public void setPm_seq_id(String pm_seq_id) {
		this.pm_seq_id = pm_seq_id;
	}

	public String getTool_pm_usr() {
		return this.tool_pm_usr;
	}

	public void setTool_pm_usr(String tool_pm_usr) {
		this.tool_pm_usr = tool_pm_usr;
	}

	public String getTool_own_usr() {
		return this.tool_own_usr;
	}

	public void setTool_own_usr(String tool_own_usr) {
		this.tool_own_usr = tool_own_usr;
	}

	public String getClm_usr() {
		return this.clm_usr;
	}

	public void setClm_usr(String clm_usr) {
		this.clm_usr = clm_usr;
	}

	public Timestamp getClm_timestamp() {
		return this.clm_timestamp;
	}

	public void setClm_timestamp(Timestamp clm_timestamp) {
		this.clm_timestamp = clm_timestamp;
	}

	public String getAc_pm_note() {
		return this.ac_pm_note;
	}

	public void setAc_pm_note(String ac_pm_note) {
		this.ac_pm_note = ac_pm_note;
	}

}